package com.mdhw.guanlin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName guan_user
 */
@TableName(value ="guan_user")
@Data
public class GuanUser implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 创建日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(value = "createDate")
    private Date createDate;

    /**
     * 创建人
     */
    @TableField(value = "createUser")
    private String createUser;

    /**
     * 乐观锁
     */
    @TableField(value = "revision")
    private Integer revision;

    /**
     * 排序号
     */
    @TableField(value = "sortNum")
    private Integer sortNum;

    /**
     * 删除标识
     */
    @TableField(value = "status")
    private String status;

    /**
     * 修改日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(value = "updateDate")

    private Date updateDate;

    /**
     * 更新人
     */
    @TableField(value = "updateUser")
    private String updateUser;

    /**
     * 
     */
    @TableField(value = "username")
    private String username;

    /**
     * 
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 
     */
    @TableField(value = "unrealPhone")
    private String unrealPhone;

    /**
     * 
     */
    @TableField(value = "password")
    private String password;

    /**
     * 
     */
    @TableField(value = "accountNonExpired")
    private Integer accountNonExpired;

    /**
     * 
     */
    @TableField(value = "accountNonLocked")
    private Integer accountNonLocked;

    /**
     * 
     */
    @TableField(value = "credentialsNonExpired")
    private Integer credentialsNonExpired;

    /**
     * 
     */
    @TableField(value = "enabled")
    private Integer enabled;

    /**
     * 
     */
    @TableField(value = "deptId")
    private Long deptId;

    /**
     * 
     */
    @TableField(value = "tenantId")
    private Long tenantId;

    /**
     * 
     */
    @TableField(value = "trueName")
    private String trueName;

    /**
     * 
     */
    @TableField(value = "yzPassword")
    private String yzPassword;

    /**
     * 
     */
    @TableField(value = "miliUserId")
    private Long miliUserId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}